package com.cnswhy.cloud.server.core.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.cnswhy.cloud.common.core.base.entity.Entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.cnswhy.cloud.common.core.base.entity.SuperEntity;

import java.io.Serializable;

/**
 * <p>
 * 实体类
 *
 * </p>
 *
 * @author cnswhy
 * @since 2020-12-25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "VerifyLogUpdateDTO", description = "")
public class VerifyLogUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull(message = "id不能为空", groups = SuperEntity.Update.class)
    private Long id;

    @ApiModelProperty(value = "")
    private Long customerId;
    @ApiModelProperty(value = "")
    @Length(max = 11, message = "长度不能超过11")
    private String verifyPhone;
    @ApiModelProperty(value = "")
    @Length(max = 25, message = "长度不能超过25")
    private String verifyCard;
    @ApiModelProperty(value = "")
    @Length(max = 30, message = "长度不能超过30")
    private String verifyIdno;
    @ApiModelProperty(value = "")
    @Length(max = 25, message = "长度不能超过25")
    private String verifyName;
    @ApiModelProperty(value = "")
    @Length(max = 1, message = "长度不能超过1")
    private String status;
    @ApiModelProperty(value = "")
    @Length(max = 255, message = "长度不能超过255")
    private String respCode;
    @ApiModelProperty(value = "")
    @Length(max = 255, message = "长度不能超过255")
    private String respDesc;
    @ApiModelProperty(value = "")
    @Length(max = 0, message = "长度不能超过0")
    private String insertDate;
    @ApiModelProperty(value = "")
    private LocalDateTime insertTime;
}
